package com.wing.product.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description="加工描述")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "warehouse_processing_description")
public class WarehouseProcessingDescription extends BaseEntity<WarehouseProcessingDescription> {

    @TableField(value = "processing_type")
    @Schema(description="加工工艺")
    private Long processingType;

    @TableField(value = "customer_id")
    @Schema(description="客户编号")
    private Long customerId;

    @TableField(value = "production_order_id")
    @Schema(description="生产订单id")
    private Long productionOrderId;

    @TableField(value = "product_variety_id")
    @Schema(description="品种id")
    private Long productVarietyId;

    @TableField(value = "product_mark_id")
    @Schema(description="钢种id")
    private Long productMarkId;

    @TableField(value = "details")
    @Schema(description="详细描述")
    private String details;
}
